package com.alibaba.algo.cooperation.usercomponent.service.user;

import com.alibaba.algo.cooperation.common.BaseResult;
import com.alibaba.algo.cooperation.usercomponent.vo.req.user.SelectAppByUserReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(url="${feign.userCenterUrl:}", value = "usercenter-service", contextId = "usercenter-app")
public interface SysAppService {

    @RequestMapping(value = "/sysApp/selectList", method = RequestMethod.POST)
    BaseResult selectList();

    @RequestMapping(value = "/sysApp/selectAppByUser", method = RequestMethod.POST)
    BaseResult selectAppByUserId(@RequestBody SelectAppByUserReqVO vo);

}
